SetNewPassword.php
<h1>Set Password</h1>
<?= $lia->view('user/PasswordRequirements');?>
<br>
<form method="POST" action="<?=$package->url('/set-password/')?>">
<!-- @TODO add tlf-user class to every root-level html element this lib is using. For easier styling by end-users -->
<!-- @TODO verify the passwords match prior to submitting form -->
<!-- @TODO verify password meets requirements prior to submitting form -->
<!-- @TODO add option to show password -->
<!-- <fieldset> -->
<!-- <legend>Set Password</legend> -->
<label>Email Address<br>
<input type="email" name="email" placeholder="<?=$package->get('Email.noreply');?>" required>
</label><br><br>
<label>Choose A Password:<br>
<input type="password" name="password" maxlength="72" required>
</label><br>
<label> Confirm Password:<br>
<input type="password" name="confirm" maxlength="72" required>
</label>
<br>
<input type="hidden" name="activationCode" value="<?=$code?>">
<!-- </fieldset> -->
<br>
<input type="submit" value="Set Password">
</form>
<?=$lia->view('user/Links',['links'=>['reset.password','login','register']]);